package jnpf.fico.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 账单变更历史记录
 *
 * @author
 */
@Data
@TableName("zcgl_cw_bill_operate_item")
public class ZcBillOperateItemEntity {

    /**
     * 主键
     */
    @TableId("F_ID")
    private String id;

    /**
     * 账单表ID
     */
    @TableField("F_PARENTID")
    private String parentId;

    /**
     * 订单费用项ID
     */
    @TableField("BILL_ITEM_ID")
    private String billItemId;

    /**
     * 费用项
     */
    @TableField("EXPENSE_ITEM")
    private String expenseItem;

    /**
     * 初始减免(本)金额
     */
    @TableField("OR_AMOUNT")
    private BigDecimal orAmount;

    /**
     * 本次减免(本)金额
     */
    @TableField("CR_AMOUNT")
    private BigDecimal crAmount;

    /**
     * 初始减免滞纳金额
     */
    @TableField("ORO_AMOUNT")
    private BigDecimal oroAmount;

    /**
     * 本次减免滞纳金额
     */
    @TableField("CRO_AMOUNT")
    private BigDecimal croAmount;

    /**
     * 应退金额/本次退款金额
     */
    @TableField("PLAN_RT_AMOUNT")
    private BigDecimal planRefundAmount;

    /**
     * 待退金额
     */
    @TableField("PEND_RT_AMOUNT")
    private BigDecimal pendRefundAmount;

    /**
     * 已退金额
     */
    @TableField("RT_AMOUNT")
    private BigDecimal refundAmount;

}
